package com.itany.netclass.tran;


import com.itany.netclass.exception.ServiceException;

/**
 * Author:sjy@itany.com
 * Date:2021/9/30 10:16
 * Version:1.0-SNAPSHOT
 */
public interface TransactionManager {

    public void begin();

    public void commit() throws ServiceException;

    public void rollback() throws ServiceException;

}
